
import request from "@/utils/request"

const updateHomeShow = () => {
    return request({
        url: `/api/home/show`,
        method: 'get',

    })
}
const updateDestinations = (length) => {
    return request({
        url: `/api/home/destinations/${length}`,
        method: 'get',

    })
}
const updateGuides= (length) => {
    return request({
        url: `api/home/guides/${length}`,
        method: 'get',

    })
}
const updateTravelogues= (length) => {
    return request({
        url: `/api/home/travelogues/${length}`,
        method: 'get',

    })
}
const getSearch= (length) => {
    return request({
        url: `/api/home/search/${length}`,
        method: 'get',

    })
}

export {updateHomeShow, updateDestinations, updateGuides, updateTravelogues,getSearch}